package com.xjtu.service;

import com.xjtu.dto.billRecord.BillDto;
import com.xjtu.result.PageResult;
import com.xjtu.result.Result;
import com.xjtu.vo.billRecord.BillDetailVo;
import com.xjtu.vo.billRecord.BillVo;

import java.util.List;

public interface BillService {
    void insert(BillDto billDto);

    PageResult queryAll(Integer page, Integer perPage, String elderlyName);

    Result<List<BillDetailVo>> queryDetailById(Integer billId);

    Result deleteById(Long billId);
}
